﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/Site.Master" Inherits="System.Web.Mvc.ViewPage<iss.sg4210.se18.team6s.jass.DAL.Advertisement>" %>

<asp:Content ID="Content1" ContentPlaceHolderID="TitleContent" runat="server">
    Delete
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
    <h2>
        Delete</h2>
    <h3>
        Are you sure you want to delete this?</h3>
    <fieldset>
        <legend>Fields</legend>
        <div class="display-label">
            Title</div>
        <div class="display-field">
            <%: Model.Title %></div>
        <div class="display-label">
            Description</div>
        <div class="display-field">
            <%: Model.Description %></div>
        <div class="display-label">
            Experience In Years</div>
        <div class="display-field">
            <%: Model.ExperienceInYears %></div>
        <div class="display-label">
            Salary From</div>
        <div class="display-field">
            <%: Model.SalaryFrom %></div>
        <div class="display-label">
            Salary To</div>
        <div class="display-field">
            <%: Model.SalaryTo %></div>
        <div class="display-label">
            Start Date</div>
        <div class="display-field">
            <%: String.Format("{0:g}", Model.StartDate) %></div>
        <div class="display-label">
            Location</div>
        <div class="display-field">
            <%: Model.GeoAreaId %></div>
        <div class="display-label">
            Company</div>
        <div class="display-field">
            <%: Model.CompanyId %></div>
        <div class="display-label">
            Is Deleted</div>
        <div class="display-field">
            <%: Model.IsDeleted %></div>
        <div class="display-label">
            Is WithDrawn</div>
        <div class="display-field">
            <%: Model.IsWithDrawn %></div>
        <div class="display-label">
            Is FulFilled</div>
        <div class="display-field">
            <%: Model.IsFulFilled %></div>
        <div class="display-label">
            Advertisement Type</div>
        <div class="display-field">
            <%: Model.AdvertisementTypeId %></div>
    </fieldset>
    <% using (Html.BeginForm())
       { %>
    <p>
        <input type="submit" value="Delete" />
        |
        <%: Html.ActionLink("Back to List", "Index") %>
    </p>
    <% } %>
</asp:Content>
